﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace WindowsFormsApplication1
{
    public partial class Solitaire_Main : Form
    {
        public Solitaire_Main()
        {
            InitializeComponent();
        }

        private void CardStack_Click(object sender, EventArgs e)
        {
            MouseEventArgs m = (MouseEventArgs)e;
            string url = Directory.GetCurrentDirectory() + "\\cardsprites\\";
            if (m.Clicks > 0)

                DrawStack.ImageLocation = url + "c4.png";
        }

    }
}
